package com.tmt.im.manager.controller.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * 好友信息VO对象
 *
 * @Description TODO
 * @Author wuyi
 * @Date 2024/8/24 23:18
 * @Version 1.0
 **/
@Getter
@Setter
@Tag(name = "好友信息VO对象", description = "好友信息VO对象")
public class FriendInfoVo implements Serializable {

    @Serial
    private static final long serialVersionUID = -3636160066845108369L;

    @Schema(name = "id", description = "好友ID")
    @JsonProperty("userId")
    private Long id;

    @Schema(name = "nickname", description = "好友用户的昵称")
    @JsonProperty("name")
    private String nickname;

    @Schema(description = "用户的会员编号")
    private String memberCode;

    @Schema(name = "avatar", description = "好友用户头像")
    private String avatar;

    @Schema(name = "alias", description = "当前用户为好友设置的备注(别名、昵称)")
    @JsonProperty("remark")
    private String alias;

    @Schema(description = "好友的二维码")
    @JsonProperty("qrCode")
    private String qrCodeUrl;

    @Schema(description = "会员等级")
    private Integer grade;

    @Schema(name = "noDisturbing", description = "消息免打扰状态，true表示免打扰开启")
    private boolean noDisturbing = false;

    @Schema(name = "inBlackBill", description = "是否在黑名单中，true表示在黑名单中")
    private boolean inBlackBill = false;

    @Schema(name = "holdInTop", description = "消息置顶状态，true表示消息置顶开启")
    private boolean holdInTop = false;

}
